package edu.dublbo.app.generator.advice.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author DubLBo
 * @since 2020-09-05 21:40
 * i believe i can i do
 */
@Setter
@Getter
public class BaseException extends RuntimeException {
    protected int optCode;
    protected String optMsg;

    public BaseException(){}

    public BaseException(int optCode, String optMsg){
        super(optMsg);
        this.optCode = optCode;
        this.optMsg = optMsg;
    }
}
